From b5df501296e01e406420f89602896d061fc59b6f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 10 Dec 2010 21:55:41 -0500 Subject: [PATCH] Move destroy_foreign comment --- gdk/gdkwindowimpl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h index 35aad9231d..00ecedd81f 100644 --- a/gdk/gdkwindowimpl.h +++ b/gdk/gdkwindowimpl.h @@ -153,6 +153,12 @@ struct _GdkWindowImplClass gboolean recursing, gboolean foreign_destroy); + + /* Called when gdk_window_destroy() is called on a foreign window + * or an ancestor of the foreign window. It should generally reparent + * the window out of it's current heirarchy, hide it, and then + * send a message to the owner requesting that the window be destroyed. + */ void (*destroy_foreign) (GdkWindow *window); cairo_surface_t * (* resize_cairo_surface) (GdkWindow *window, -- 2.30.2